import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    open:false,
      login:{},
    userInfo:null,
    isLogin: false,
  },
  mutations: {
    change(state,loader){
      state.open=loader
    },
    login(state,loader){
      state.login=loader
    },
    loginStatus(state,loader){
      state.isLogin=loader
    }

  },
  actions: {

  },
  modules: {
  }
})
